
using System;
using System.Drawing;

using MonoTouch.Foundation;
using MonoTouch.UIKit;
using bjeschool_csharp.Model;

namespace bjeschool
{
	public partial class VideoListCell : CommonCell<M_Video>
	{
		public VideoListCell () //: base ("VideoListCell", null)
		{
			NSBundle.MainBundle.LoadNib("VideoListCell", this, null);
		}
		
		public override void SetData (M_Video item)
		{
			
			Name.Text = item.Name;
			Teacher.Text = item.TeacherName;
			CreateTime.Text = item.CreateTime.ToLongTimeString();
			
		}
		
		[Outlet("CellView")]
		public override UITableViewCell CellView { get; set; }
		[Outlet("Name")]
		public UILabel Name { get; set; }
		[Outlet("Teacher")]
		public UILabel Teacher {get;set;}
		[Outlet("CreateTime")]
		public UILabel CreateTime {get;set;}
	}
}

